<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>info编辑</title>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>

    <style>
        .divcss5 {
            width: 100%
        }

        .divcss6 {
            width: 100%;
            height: 700px;
        }
        .divcss7 {
            width: 100%;
            height: 700px;
        }
        .divcss4 {
            width: 100%;
            height: 100px;
        }

        .divcss5 table {
            background: #CCC;
            color: black
        }

        .divcss5 table td {
            background: #FFF
        }
    </style>
</head>
<body>


<!--    <table th:border="1">-->
<!--        <thead>-->
<!--            <tr th:width="10000px">-->
<!--                <td width="1000px">xx</td>-->
<!--                <td width="9000px">yy</td>-->
<!--            </tr>-->
<!--        </thead>-->
<!--        <tbody>-->
<!--            <tr><td>key1 </td><td><input type="text" th:field="${message.info}"/> </td></tr>-->
<!--            <tr th:high="4000px"><td>key1 </td><td><textarea high="4000px" width="9000px" type="text" th:field="${message.info}"/> </td></tr>-->
<!--        </tbody>-->
<!--    </table>-->


<form action="#" th:action="@{/add/save}" th:object="${data}" method="post">

    <div class="divcss5">
        <table width="100%" border="0" cellspacing="1" cellpadding="0">
            <tr>
                <td width="10%">字段名称</td>
                <td width="90%">内容</td>
            </tr>
            <input hidden="hidden"  type="text" th:field="${data.id}"/>
            <tr><td>key</td><td><textarea class="divcss4" type="text" th:field="${data.data}"/></td></tr>
            <tr><td>value</td><td><textarea class="divcss7" type="text" th:field="${data.desc}"/></td></tr>
            <tr><td colspan="2">  <input class="divcss5" width="100%" type="submit" value="保存"/> </td></tr>
        </table>
    </div>


</form>

</body>
</html>